package com.jinlejia.erp.ui.home;


import android.os.Bundle;
import androidx.annotation.Nullable;
import androidx.fragment.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;

import com.jinlejia.erp.R;

/**
 * 购房资质（无3年内连续2年社保或无完税证明）
 */
public class BreakOffFragment extends Fragment {


    public BreakOffFragment() {
        // Required empty public constructor
    }


    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container,
                             Bundle savedInstanceState) {
        // Inflate the layout for this fragment
        return inflater.inflate(R.layout.fragment_break_off, container, false);
    }

    @Override
    public void onViewCreated(View view, @Nullable Bundle savedInstanceState) {
        super.onViewCreated(view, savedInstanceState);

        //第一组
        View qview1 = view.findViewById(R.id.qinfo1);
        ((TextView) qview1.findViewById(R.id.tip1)).setText("可购买私产房");
        ((TextView) qview1.findViewById(R.id.text1)).setText("限购");
        ((TextView) qview1.findViewById(R.id.text1)).setTextColor(getResources().getColor(R.color.yellow));
        ((TextView) qview1.findViewById(R.id.tip2)).setText("贷款");
        ((TextView) qview1.findViewById(R.id.text2)).setText("限贷");


    }
}
